Fix for Foulborn Choir of the Storm calculation#9421
Fix for Foulborn Choir of the Storm calculation#9421EminGul wants to merge 1 commit intoPathOfBuildingCommunity:devfrom
Conversation
|
Just want to point out this kills the aura part of Radiant Faith, so it doesn't apply to minions or get exported as a party buff (Mana Guardian). Using I do find my PR (#9399) a little ugly, but I was trying not to alter the current code flow too much for anything other than the Foulborn Choir to reduce the chance of introducing bugs. |
Fair enough, I'll close this PR as I was trying to do minimal changes/not change code flow but didn't realize it killed the aura portion. Where are you viewing the 2 ES auras? On my end its overwritten in the output. Calculating extra auras later makes the most sense to me but is obviously prone to more issues, so it's probably something the core maintainers will have to reevaluate. |
Fixes #9410 .
Description of the problem being solved:
Foulborn Choir of the Storm along with Radiant Faith was producing incorrect values for both the % increased mana gained (in-game values round down) and for the base ES granted by Radiant Faith when the amulet is equipped.
Steps taken to verify a working solution:
Link to a build that showcases this PR:
Supplied PoB: https://pobb.in/JX6dPx2-Tt5H
With Step 2 above applied: https://pobb.in/iT5syI5O5TeM
Before screenshot:
After screenshot:
Note: I did not want to change the stat calculations and steps in
CalcPerform.luato avoid causing more bugs, but the issue is caused bydoActorLifeManaReservationbeing called more than once (once inCalcPerform.luaand afterwards inCalcDefence.lua). Only the latter call has the correct value of maximum mana and hence reserved mana/base ES granted by Radiant Faith because it accounts the increases by Foulborn Choir of the Storm by that point in the calculations.Edit: Seems to be similar to #9399